package com.hu.zhcc.shiro.controller.xsf;

import com.hu.zhcc.shiro.entity.xsf.pojo.THealthPlanType;
import com.hu.zhcc.shiro.service.xsf.THealthPlanTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/tHealthPlanType")
public class THealthPlanTypeController {
    @Autowired
    private THealthPlanTypeService tHealthPlanTypeService;
    @GetMapping("")
    public List<THealthPlanType> queryAllTHealthPlanType(){
        return tHealthPlanTypeService.queryAllTHealthPlanType();
    }
}
